﻿#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
typedef union {
	int a;
	char b;
}UN;

int main() {

	UN u;
	u.a = 1;
	if (u.b == 1) printf("小端存储\n");
	else printf("大端存储\n");
	return 0;

}